import axios from 'axios';
import { Toast } from 'vant';

const service = axios.create({
  baseURL: 'http://itfly.vip:8888',
  timeout: 1000
})
service.interceptors.response.use(res => {
  return res
}, err => {
  Toast('请求失败' + err)
  Promise.reject(err)
})
export default service